/**
 * 
 */
package os.filesystem.file;

/**
 * The Root Directory is a special directory that sites at
 * the top of the file system hierarchy. 
 * <p>
 * The root directory is the only directory with <b>name</b>
 * and <b>absolute name</b> the same.
 * 
 * @author Raghav Sidhanti
 * @since Mar 7, 2012 11:49:17 AM
 *
 */
public class RootDirectory extends Directory{

	private static final long serialVersionUID = -8431459191960649150L;
	public static final String DIRECTORY_TYPE = "ROOT_DIRECTORY"; 
	
	public RootDirectory(String name, String creator) {
		super(name, creator);
		getMeta().setAbsoluteName(name);
	}

	@Override
	public String getDirectoryType() {
		return DIRECTORY_TYPE;
	}

}
